The following describes and lists some of the available add-in functions.
ここでは、利用できるアドイン関数の一部について説明します。
You will also find a description of the Office Calc add-in interface in the Help. In addition, important functions and their parameters are described in the Help for the Shared Library Office Calc add-in DLL.
Office Calc のアドインインタフェースに関する説明もこのヘルプにあります。そこでは、共有ライブラリOffice Calc のアドイン DLL に必要な、関数とパラメータについて説明しています。
Office contains examples for the add-in interface of Office Calc.
Office には、Office Calc のアドインインタフェースの例が含まれています。
Analysis Functions Part One
分析関数 1
Analysis Functions Part Two
分析関数 2
Determines whether a year is a leap year. If yes, the function will return the value 1 (TRUE); if not, it will return 0 (FALSE).
指定した日付の年が、閏年かどうかを調べます。 閏年の場合は値 1 (TRUE)、そうでない場合は 0 (FALSE) を返します。
ISLEAPYEAR("Date")
ISLEAPYEAR("日付")
Date specifies whether a given date falls within a leap year. The Date parameter must be a valid date according to the locale settings of Office.
日付 は、指定された日付がうるう年かどうかを指定します。日付パラメータは、Office のロケール設定に従う有効な日付とします。
=ISLEAPYEAR(A1) returns 1, if A1 contains 1968-02-29, the valid date 29th of February 1968 in your locale setting.
A1 にロケール設定内の有効な日付 1968 年 2 月 29 日を表す 1968-02-29 が含まれている場合、=ISLEAPYEAR(A1) は 1 を返します。
You may also use =ISLEAPYEAR("1968-02-29") or =ISLEAPYEAR("2/29/68").
=ISLEAPYEAR("1968-02-29") または =ISLEAPYEAR("2/29/68") も使用できます。
Never use =ISLEAPYEAR(2/29/68), because this would first evaluate 2 divided by 29 divided by 68, and then calculate the ISLEAPYEAR function from this small number as a serial date number.
=ISLEAPYEAR(2/29/68) は最初 29 を 68 で割った数で 2 を割り、連続する日付番号としてこの小さい数から ISLEAPYEAR を計算するので、絶対に使用しないでください。
Calculates the difference in years between two dates.
2 つの日付の間の年数を返します。
YEARS(StartDate; EndDate; Type)
YEARS(開始日; 終了日; タイプ)
StartDate is the first date
開始日 は、最初の日付です。
EndDate is the second date
終了日 は、2 番目の日付です。
Type calculates the type of difference. Possible values are 0 (interval) and 1 (in calendar years).
タイプ は違いの種類を計算します。使用可能な値は、0 (間隔) と 1 (暦月) です。
Calculates the difference in months between two dates.
2 つの日付の間の月数を返します。
MONTHS(StartDate; EndDate; Type)
MONTHS(開始日; 終了日; タイプ)
StartDate is the first date
開始日 は、最初の日付です。
EndDate is the second date
終了日 は、2 番目の日付です。
Type calculates the type of difference. Possible values include 0 (interval) and 1 (in calendar months).
タイプ は違いの種類を計算します。使用可能な値は、0 (間隔) と 1 (暦月) などです。
Encrypts a character string by moving the characters 13 positions in the alphabet. After the letter Z, the alphabet begins again (Rotation). By applying the encryption function again to the resulting code, you can decrypt the text.
アルファベット文字を 13 文字ずらして文字列を暗号化します。Z の後は A に戻ります。暗号化された文字列にもう一度この関数を適用すると、元の文字列に戻ります。
ROT13(Text)
ROT13(文字列)
Text is the character string to be encrypted. ROT13(ROT13(Text)) decrypts the code.
テキスト は、暗号化される文字列です。ROT13(ROT13(テキスト)) は、コードを復号化します。
Calculates the number of days of the year in which the date entered occurs.
入力した日付を含む年の日数を計算します。
DAYSINYEAR(Date)
DAYSINYEAR(日付)
Date is any date in the respective year. The Date parameter must be a valid date according to the locale settings of Office.
日付 は、各年の任意の日付です。日付パラメータは、Office のロケール設定に従う有効な日付とします。
=DAYSINYEAR(A1) returns 366 days if A1 contains 1968-02-29, a valid date for the year 1968.
A1 に 1968 年の有効な日付、1968-02-29 が含まれている場合、=DAYSINYEAR(A1) は 366 日を返します。
Calculates the number of days of the month in which the date entered occurs.
入力した日付を含む月の日数を計算します。
DAYSINMONTH(Date)
DAYSINMONTH(日付)
Date is any date in the respective month of the desired year. The Date parameter must be a valid date according to the locale settings of Office.
日付 は、必要な年の各月の任意の日付です。日付パラメータは、Office のロケール設定に従う有効な日付とします。
=DAYSINMONTH(A1) returns 29 days if A1 contains 1968-02-17, a valid date for February 1968.
A1 に 1968 年 2 月の有効な日付、1968-02-17 が含まれている場合、=DAYSINMONTH(A1) は 29 日を返します。
Calculates the difference in weeks between two dates.
2 つの日付の間の週数を返します。
WEEKS(StartDate; EndDate; Type)
WEEKS(開始日; 終了日; タイプ)
StartDate is the first date
開始日 は、最初の日付です。
EndDate is the second date
終了日 は、2 番目の日付です。
Type calculates the type of difference. The possible values are 0 (interval) and 1 (in numbers of weeks).
タイプ は違いの種類を計算します。使用可能な値は、0 (間隔) と 1 (週数) です。
Calculates the number of weeks of the year in which the date entered occurs. The number of weeks is defined as follows: a week that spans two years is added to the year in which most days of that week occur.
入力した日付を含むその年の週数を計算します。 週数は、次のように定義されます。 2 つの年にわたる週は、その週の日を多く含む方の年に加えられます。
WEEKSINYEAR(Date)
WEEKSINYEAR(日付)
Date is any date in the respective year. The Date parameter must be a valid date according to the locale settings of Office.
日付 は、各年の任意の日付です。日付パラメータは、Office のロケール設定に従う有効な日付とします。
WEEKSINYEAR(A1) returns 53 if A1 contains 1970-02-17, a valid date for the year 1970.
A1 に 1970 年の有効な日付、1970-02-17 が含まれている場合、WEEKSINYEAR(A1) は 53 を返します。
Add-ins can also be implemented through the Office API.
アドインは Office の API でも実装できます。